package com.wn.bean;

public class Owner {
    private int id;
    private String username;
    private String tel;
    private int sex;
    private String identity; //身份证
    private int houseId; 
    private String remarks;

    public Owner() {
    }

    public Owner(int id, String username, String tel, int sex, String identity, int houseId, String remarks) {
        this.id = id;
        this.username = username;
        this.tel = tel;
        this.sex = sex;
        this.identity = identity;
        this.houseId = houseId;
        this.remarks = remarks;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public String getIdentity() {
        return identity;
    }

    public void setIdentity(String identity) {
        this.identity = identity;
    }

    public int getHouseId() {
        return houseId;
    }

    public void setHouseId(int houseId) {
        this.houseId = houseId;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    @Override
    public String toString() {
        return "Owner{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", tel='" + tel + '\'' +
                ", sex=" + sex +
                ", identity='" + identity + '\'' +
                ", houseId=" + houseId +
                ", remarks='" + remarks + '\'' +
                '}';
    }
}